﻿<s:SurfaceWindow x:Class="GestureControlTest.SurfaceWindow1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:s="http://schemas.microsoft.com/surface/2008"
    xmlns:gc="clr-namespace:GestureControl;assembly=GestureControl"
    Title="GestureControlTest"
    >
  <s:SurfaceWindow.Resources>
    <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/WindowBackground.jpg"/>
  </s:SurfaceWindow.Resources>

  <Grid Background="{StaticResource WindowBackground}" s:Contacts.ContactTapGesture="Grid_ContactTapGesture" x:Name="MyGrid">
        <!--<s:ScatterView>
            <s:ScatterViewItem> -->
                <gc:GestureControl x:Name="Gesture">
                    <Image Source="pack://application:,,,/Resources/WindowBackground.jpg" Stretch="Fill" x:Name="Img"></Image>
                </gc:GestureControl>
                <TextBlock x:Name="TxtGesture" VerticalAlignment="Bottom" Height="58" Text="None" TextWrapping="Wrap" HorizontalAlignment="Center"/>
           <!-- </s:ScatterViewItem>
      </s:ScatterView> -->
  </Grid>
</s:SurfaceWindow>
